package com.cdut.domain;

public class YearRegPrice {
    private int year;
    private String region;
    private int avgPrice;

    public YearRegPrice(int year, String region, int avgPrice) {
        this.year = year;
        this.region = region;
        this.avgPrice = avgPrice;
    }

    public YearRegPrice() {
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public int getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(int avgPrice) {
        this.avgPrice = avgPrice;
    }

    @Override
    public String toString() {
        return "YearRegPrice{" +
                "year=" + year +
                ", region='" + region + '\'' +
                ", avgPrice=" + avgPrice +
                '}';
    }
}
